/*
x Simple, given a string of words, return the length of the shortest word(s).
String will never be empty and you do not need to account for different data types.
*/

function findShort(s) {
    let wordArray = s.split(' ');
    let wordLenArray = wordArray.map(word => word.length);
    return Math.min.apply(Math, wordLenArray);
}